// See the Electron documentation for details on how to use preload scripts:
// https://www.electronjs.org/docs/latest/tutorial/process-model#preload-scripts

import { contextBridge } from 'electron';
const mainApi = {
    isDev: (): boolean => {
        return true;
    }
};
// contextBridge.exposeInMainWorld("mainApi", mainApi);
contextBridge.exposeInIsolatedWorld(999, "mainApi", mainApi);
export type MainApi = typeof mainApi;
